//
//  ChooseView.h
//  XDBaseFrameWork
//
//  Created by xindao on 14-9-22.
//  Copyright (c) 2014年 XD-XY. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ChooseViewDelegate <NSObject>

- (void)chooseType:(NSString *)type data:(NSDictionary *)dict;

@end

@interface ChooseView : UIView<UITableViewDataSource,UITableViewDelegate>
{
    NSMutableArray * dataArray;
    UIView * littleBgView;
    NSString * titleStr;
}
@property (nonatomic,strong) UIView * bgView;
@property (nonatomic,strong) UITableView * myTableView;
@property (nonatomic,strong) id <ChooseViewDelegate> delegate;
@property (nonatomic,copy) NSString * type;
@property (nonatomic,assign) int selectIndex;
- (void)showWithType:(NSString *)type array:(NSArray *)array title:(NSString *)title;
@end
